<script type="text/javascript" src="js/services.js"></script>
<link type="text/css" rel="stylesheet" href="css/services.css"/>
﻿<div class="container">
		<h1>Them phat sinh</h1>
<?php     

echo form_open(current_url()); ?>
		<div id = "top_reserve">
			<div id = "content-right" class="action">
			
			<div>
			<p>
            <input type="image" id="button_submit" name="button_submit" value="Lưu" class="imageButtonSmall"/>
		<?php 
		$data = array(
			'name' => 'button_cancel',
			'id' => 'button_cancel',
			'value' => 'true',
			'type' => 'button',
			'content' => 'Huỷ',
			'onclick'=>"history.go(-1);return false;"
		);

		echo form_button($data);
		?>
</p></div> <!-- end opt_box -->
			</div> <!-- end add_new -->
		</div> <!-- end top_reserve -->
<div style="width:500px;margin:0 auto;">
<?php // echo $custom_error; ?>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Content">Nội dung<span class="required"><font color="red">*</font></span></label>                                
                <input id="Content" type="text" name="Content" value="<?php echo set_value('Content'); ?>"  />
                <?php echo form_error('Content','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Price">Tiền<span class="required"><font color="red">*</font></span></label>                                
                <input id="Price" type="text" name="Price" value="<?php echo set_value('Price'); ?>"  />
                <?php echo form_error('Price','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="auto">Tự động</label><?php 
						$data = array(
							"name"        => "auto",
							"id"          => "auto",
							"value"       => 1,
							"checked"     => false,
							"style"       => "float: left;",
						);
						echo form_checkbox($data); ?> 
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Create_Dt">Ngày tạo</label>                                
                <input id="Create_Dt" type="text" name="Create_Dt" value="<?php echo set_value('Create_Dt'); ?>"  />
                <?php echo form_error('Create_Dt','<div>','</div>'); ?>
                </p></span></div>
<?php echo form_close(); ?>
		</div>